import { useNavigate } from 'react-router-dom'
import { useAuth } from '@/hooks'
const Home = () => {
  const navigate = useNavigate()
  const result = useAuth('edit')
  return (
    <div>
      home页面
      <button
        onClick={() =>
          navigate('/home/index/details?id=10')
        }
      >
        跳转111详情
      </button>
    </div>
  )
}

export default Home
